package com.zheng.hr.dao.model;

import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.zheng.common.base.BaseEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author likun
 * @since 2018-04-19
 */
@TableName("hr_meeting")
public class HrMeeting extends BaseEntity {
	public static final Integer NORMAL = 0;
	public static final Integer DELETE = 1;
	public static final Integer CANCEL = 2;
	public static final Integer FINISH = 3;

	private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 开始时间
     */
	@TableField("begin_time")
	private Date beginTime;
    /**
     * 会议名称
     */
	@TableField("meeting_name")
	private String meetingName;
    /**
     * 与会人员信息
     */
	@TableField("join_info")
	private String joinInfo;
    /**
     * 会议地点
     */
	@TableField("meeting_place")
	private String meetingPlace;
    /**
     * 会议纪要
     */
	@TableField("meeting_summary")
	private String meetingSummary;
	private String remark;
    /**
     * 附件（上传文件地址的数组）
     */
	private String attachment;
    /**
     * 会议状态 0正常 1已删除
     */
	private Integer status;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public String getMeetingName() {
		return meetingName;
	}

	public void setMeetingName(String meetingName) {
		this.meetingName = meetingName;
	}

	public String getJoinInfo() {
		return joinInfo;
	}

	public void setJoinInfo(String joinInfo) {
		this.joinInfo = joinInfo;
	}

	public String getMeetingPlace() {
		return meetingPlace;
	}

	public void setMeetingPlace(String meetingPlace) {
		this.meetingPlace = meetingPlace;
	}

	public String getMeetingSummary() {
		return meetingSummary;
	}

	public void setMeetingSummary(String meetingSummary) {
		this.meetingSummary = meetingSummary;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getAttachment() {
		return attachment;
	}

	public void setAttachment(String attachment) {
		this.attachment = attachment;
	}

	public Date getCtime() {
		return ctime;
	}

	public void setCtime(Date ctime) {
		this.ctime = ctime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	@Override
	protected Serializable pkVal() {
		return id;
	}
	@Override
	public String toString() {
		return "HrMeeting{" +
			"id=" + id +
			", beginTime=" + beginTime +
			", meetingName=" + meetingName +
			", joinInfo=" + joinInfo +
			", meetingPlace=" + meetingPlace +
			", meetingSummary=" + meetingSummary +
			", remark=" + remark +
			", attachment=" + attachment +
			", ctime=" + ctime +
			", status=" + status +
			"}";
	}
}
